package com.wtpaint.lib.glide.load.model.data;

public interface DataFetcher<Data> {

    interface DataFetcherCallback<Data> {
        void onFetcherReady(Data data);

        void onLoadFailed(Exception e);
    }

    void loadData(DataFetcherCallback<Data> callback);

    void cancel();

}
